package dynamic.ibatis.builder.annotation;


import java.lang.reflect.Method;

/**
 * @author Eduardo Macarron
 */
public class DMethodResolver {
    private final DMapperAnnotationBuilder annotationBuilder;
    private final Method method;

    public DMethodResolver(DMapperAnnotationBuilder annotationBuilder, Method method) {
        this.annotationBuilder = annotationBuilder;
        this.method = method;
    }

    public void resolve() {
        annotationBuilder.parseStatement(method);
    }

}